# $Id: PKGBUILD 65423 2012-02-21 05:41:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=sane-gt68xx-firmware
pkgver=1.0
pkgrel=6
pkgdesc="gt68xx-based scanners firmwares"
arch=(any)
license=('GPL')
url="http://www.meier-geinitz.de/sane/gt68xx-backend/"
depends=(sane)
source=("cism216.fw::http://bugs.archlinux.org/task/20374?getfile=5563"
	http://subfusion.net/drivers/oslo3071b2.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/A1fw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/A2Dfw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/A2Nfw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/A2fw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/P9fw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/PS1Dfw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/PS1Gfw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/PS2Dfw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/PS2Dfw2.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/SBSfw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/a32fw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/ps1fw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/ps2fw.usb
	http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/sbfw.usb)
md5sums=('24f9eb96d7f1f3697b948f3d8df4b37a'
         '833d45980f6f18c238c423b707fe4731'
         'f6fee87871d3261beff4b21edbd5bbfc'
         '1eb3d31b48be24183253bd17d2286ba0'
         'a32f4a198745c8ef892e57646785325f'
         'f2db0a9be640f5a7b2a91c4fcbc2873e'
         '9c82e4953618b5cc564a19524bf51a62'
         'eca04dc02952503ac75fda3a42f3257e'
         'f2f275c5a8ad5dbdc43793f046612417'
         '6d54f45a81051fda87c08724125fc699'
         'f8ddd5a3986960b7cfd8f4de868919b8'
         '3a665fc0d281894a5814ee0e16d45660'
         '571ef382acb9c1c819bed858743f7bf7'
         '89940cc4e6a469681ab1226f6607bc31'
         'c314fc8fc431593c8fc6cefcb3d27a06'
         '4c3928214b03588a1e67c75f06d14dbb')

build() {
  cd $srcdir
  install -d -m0755 $pkgdir/usr/share/sane/gt68xx/
  install -m0644 *.usb $pkgdir/usr/share/sane/gt68xx/
  install -m0644 *.fw $pkgdir/usr/share/sane/gt68xx/
}
